Script: --on windowEvent wdID,wdName,objNo,objName,objValue¬¬global gComicShowPassword¬¬if objValue="Open" then ¬ centerWindow wdName, 3¬ wsSet wdID,"Password","Text", gComicShowPassword¬ wsSet wdID,"Password","Selection", "0,1000"¬ wsSet wdID,"Password","Keyfilter", "Only1Line"¬ ¬else if objValue="Close" then ¬ ¬else if objValue="Suspend" then ¬ ¬else if objValue="Resume" then ¬ ¬else if objValue="CloseBox" then ¬ ¬else if objValue="ZoomBox" then ¬ ¬else if objValue="GrowBox" then ¬ ¬else if objValue="TitleBar" then ¬ ¬end if¬¬--end windowEvent
ItemType: TEXT
Rect: 8,7,298,39
WhiteColor: -8739,-8739,-8739
Text: Enter the password that users will need before being allowed to leave Comic Show:
ItemType: TEXT
Rect: 8,46,298,68
Name: Password
LockText: FALSE
KeyFilter: Only1Line
Balloon: Type a password here that people will need to enter before being allowed to exit the demo mode.¬¬By setting a password, you can make sure that no unauthorized users can wreak havoc with your information while you are running a demo.
ItemType: PUSH
Rect: 181,85,294,105
Name: Set Password
DefaultItem: TRUE
AutoClose: TRUE
Balloon: Click here to OK the password for demo mode. Make sure you remember it, as typed above, or you will need to restart your machine in order to exit the demo mode.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬Global gComicShowPassword¬¬put wsGet(wdID,"Password","Text") into gComicShowPassword¬¬--end mouseUp
ItemType: PUSH
Rect: 90,85,170,105
Name: Cancel
CancelItem: TRUE
AutoClose: TRUE
Balloon: Click here to exit without entering a password for demo mode.